package cn.rocksolid.sport.security.entity;

import cn.rocksolid.sport.common.Constant.St;
import cn.rocksolid.sport.common.entity.AuditedEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Collection;

/**
 * System role for collecting access resources.
 *
 * @author Axl Zhao
 * @email axl.zhao@163.com
 */
@TableName("t_role")
@Data
public class RoleEntity extends AuditedEntity {
  /**
   * Random serialVersionUID
   */
  private static final long serialVersionUID = 1L;
  /**
   *
   */
  private String title;
  /**
   *
   */
  private String remark;
  /**
   *
   */
  private St st;
  /**
   *
   */
  @TableField(exist = false)
  private Collection<String> menuIds;
}
